﻿@model IEnumerable<Proggy.Data.Entities.TrashedNode>
<div id="proggy_trash">
    <h2>
        Trash</h2>
    <ul>
        @foreach (var trashed in Model)
        { 
            <li style="padding-bottom: 0.5em;">@trashed.Name
                <br />
                @Html.ActionLink("Restore", "Restore", new { id = trashed.TrashedNodeId }) |
                @Html.ActionLink("Delete permanently", "Delete", new { id = trashed.TrashedNodeId })</li>
        }
    </ul>
</div>
